<?php
include_once($_SERVER['DOCUMENT_ROOT'].'/includes/settings.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/includes/functions.php');
@session_start();
deny_anonymous();
?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta content="" name="description">
<title>Voca.Português</title>
<link rel="stylesheet" href="/assets/stylesheets/main.css"></link>
<link rel="stylesheet" href="/assets/stylesheets/ui-progress-bar.css"></link>
<script type="text/javascript" src="/assets/javascripts/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="/assets/javascripts/json2.js"></script>
<script type="text/javascript" src="/assets/javascripts/jbar.min.js"></script>
<script type="text/javascript" src="/assets/javascripts/jquery.cookie.js"></script>
<script type="text/javascript" src="/assets/javascripts/jquery.bpopup.min.js"></script>
<script type="text/javascript" src="/assets/javascripts/jquery.color-2.1.2.min.js"></script>
<script type="text/javascript" src="/assets/javascripts/voca.js"></script>
</head>
<body>
<div id="header">
	<div id="logo"><a href="#"><img src="/assets/images/logo.jpg" width="274px" height="41px"/></a></div>
</div>
<div id="head_bar">
	<div class="menu">
	<a href="/course"><?php _('记单词') ?></a>
	<a href="/collect_words" title="<?php _('添加单词到你的个人词库')?>"><?php _('收藏单词') ?></a>
	<a href="/vocabulary" ><?php _('我的词库') ?></a>
	<?php if(user_val('is_sa')):?>
	<a href="/wordbank" ><?php _('系统词库') ?></a>
	<?php endif?>
	<a href="/group/topics" class="active"><?php _('讨论小组') ?></a>
	</div>
	<div class="right dropdown">
		<ul id="my_menu">
	        <li>
	            <a href="#" class="name"><?php e($_SESSION['user']['name']) ?><span class="arrow">▼</span></a>
	            <ul class="hidden">
	                <li><a href="<?php user_url($_SESSION['user']['id']) ?>">个人中心</a></li>
	                <li><a href="#"><img src="/assets/images/coins.png" align="absmiddle" /><?php e(user_val('money'))?></a></li>
	                <li class="horizontal_line"></li>
	                <li><form action="/handlers/login_handler.php?action=logout" method="post">
	                	<a href="#" id="logout">退出系统</a>
	                </form></li>
	            </ul>
	        </li>
        </ul>
	</div>
</div>
<div id="wrapper">
<div id="container">